package com.silverbox.shopper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.silverbox.shopper.entity.ShopSystemGoods;
import com.silverbox.shopper.entity.extend.SystemGoodsExtend;

public interface ShopSystemGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShopSystemGoods record);

    int insertSelective(ShopSystemGoods record);

    ShopSystemGoods selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShopSystemGoods record);

    int updateByPrimaryKey(ShopSystemGoods record);

    /**
     * 获取店铺系统级商品配置信息
     * @param storeId
     * @param shopperId
     * @param tableUid
     * @return
     */
	List<SystemGoodsExtend> getShopSystemGoods(@Param("storeId") Integer storeId, @Param("shopperId") Integer shopperId,
			@Param("tableUid") String tableUid,@Param("weekNum") int weekNum);
}